/*
 * Copyright 2022 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'mixins';
@import '@kui-shell/plugin-bash-like/web/scss/xterm.scss';

/** For a few, we need to add !important to prioritize our rules over PatternFly's */
@include MadwizardToolbar {
  padding: 0 !important;
  background-color: var(--color-base00) !important;
}

@include MadwizardToolbar {
  min-height: 2em;
  font-family: var(--font-sans-serif);

  @include SearchBadge {
    color: var(--color-text-01);
  }

  @include SearchIcon {
    z-index: 10;
    color: var(--color-text-02);
  }

  @include SearchInputGroup {
    background-color: transparent;
    --pf-c-text-input-group__text--before--BorderColor: transparent;

    input {
      background-color: transparent;
      color: var(--color-text-01);
    }
  }
}

@include SearchResultActive {
  opacity: 0.2;
  background-color: var(--color-base0E);
  z-index: 10 !important;
}
